using System;
using System.Linq.Expressions;

namespace Nvigorate.Repository.Test
{
    public static class Select
    {
        public static SearchCriteria<TModel> Where<TModel>(Expression<Func<TModel, bool>> expression)
        {
            var criteria = new SearchCriteria<TModel>();
            criteria.Add(expression);
            return criteria;
        }
    }
}